package com.fansaikj.fansplat.domain;

import com.relax.relax.common.annotation.RelaxColumn;
import com.relax.relax.common.annotation.RelaxEntity;
import com.relax.relax.common.annotation.RelaxId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@RelaxEntity(tableName = "student1")
public class Student {

    @RelaxId
    @RelaxColumn
    private Integer id;

    @RelaxColumn
    private String name;

    @RelaxColumn
    private String sex;

    @RelaxColumn
    private Integer age;

}
